﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using Entity;
using System.Data;

namespace BUS
{
    public class QuanLyLoaiSPBUS
    {
        public static DataTable LayThongTinLoaiSP()
        {
            return QuanLyLoaiSPDAO.LayThongTinLoaiSP();
        }

        public static void SuaLoaiSP(LoaiSanPham loaisp)
        {
            QuanLyLoaiSPDAO.SuaLoaiSP(loaisp);
        }

        public static void XoaLoaiSP(String maloaisp)
        {
            QuanLyLoaiSPDAO.XoaLoaiSP(maloaisp);
        }

        public static void ThemLoaiSP(LoaiSanPham loaisp)
        {
            QuanLyLoaiSPDAO.ThemLoaiSP(loaisp);
        }
    }
}
